{%extends 'base.html'%}
{% block css %}
<!-- 表格换行 -->
<style type="text/css">
    table {
        table-layout: fixed;
    }

    td {
        word-break: break-all;
        word-wrap: break-word;
    }
</style>
{% endblock %}

{% block body %}



<div class="container">

    <div class="center">
        <h1>用户基本信息</h1>
    </div>


    <!-- <div class="table-responsive"> -->
        <table class="table">
            <tr>
                <th>公司名称</th>
                <td>{{info.company_name}}</td>
            </tr>

            <tr>
                <th>公司分类</th>
                {% if info.party == "A" %}
                <td>甲方</td>
                {% else %}
                <td>乙方</td>
                {% endif %}
            </tr>

            <tr>
                <th>联系人</th>
                <td>{{info.linkman}}</td>
            </tr>

            <tr>
                <th>手机号吗</th>
                <td>{{info.phone}}</td>
            </tr>

            <!-- <tr>
                <th>需求/资源</th>
                <td>{{info.need}}</td>
            </tr> -->




        </table>
    <!-- </div> -->



    <div class="row" style="margin: 20px;">
        <div class="col-md-3 col-sm-2"></div>
        <div class="col-md-6 col-sm-8 col-xs-12">
            <form action="/publish_" method="POST" class="form-horizontal">


                <div class="radio">
                    <label class="radio-inline">
                        <input type="radio" name="party" value="A" checked> 甲方
                    </label>

                    <label class="radio-inline">
                        <input type="radio" name="party" value="B"> 乙方
                    </label>
                </div>

                <div class="form-group">
                    <label for="exampleInputPassword1">修改资源/需求</label>
                    <!-- <input type="text" class="form-control" id="need" placeholder="need"" name="need"> -->
                    <textarea class="form-control" rows="3" name="need" required="required"></textarea>
                </div>



                <div class="center">
                    <button type="submit" class="btn btn-default">提 交</button>

                </div>
            </form>
        </div>


    </div>

</div>
<!-- END container one-->


{% endblock %}

{% block script %}
<script>
    document.getElementById("demo").innerHTML = "个人信息";
</script>
{% endblock %}